package com.kameiqi.erp.domain.model;
import cn.qqxkj.core.common.base.BaseModel;
import cn.qqxkj.core.annotation.agile.Page;
import cn.qqxkj.core.annotation.agile.PageField;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.kameiqi.erp.constant.PermissionMenus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.lang.String;

/**
 * 产品当前库存实体类
 * @author 小六子
 * @date 2022-04-23 15:17:32
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@Table(name = "jsh_material_current_stock")
@Entity
@Page(cover = true)
@ApiModel("产品当前库存")
public class MaterialCurrentStock extends BaseModel{
    /** 产品id */
    @ApiModelProperty(value="产品id")
    private Long materialId;

    /** 仓库id */
    @ApiModelProperty(value="仓库id")
    private Long depotId;

    /** 当前库存数量 */
    @ApiModelProperty(value="当前库存数量")
    @Column(scale=6)
    @PageField(dataScale=6)
    private BigDecimal currentNumber;

    /** 租户id */
    @ApiModelProperty(value="租户id")
    private Long tenantId;

    /** 删除标记，0未删除，1删除 */
    @ApiModelProperty(value="删除标记",notes="删除标记，0未删除，1删除")
    private String deleteFlag;

}
